package com.situ.day11XianCheng;

public class Nuber extends Thread{//继承Thread
	private int start;

	public Nuber(String name,int start) {
		super(name);
		this.start = start;
	}
	
	@Override
	public void run() {
		for (int i = start; i < 100; i += 2) {
			System.out.println(Thread.currentThread().getName()+ " " + i);
		}
	}
	
	
}
